﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mimoza.ServiceLayer
{
    public abstract class BaseObject : Common.IComponent
    {
        public BaseObject(Configuration config)
        {
            m_config = config;
        }

        public virtual void Init() { }
        public virtual void Shutdown() { }

        public Configuration Configuration
        {
            get { return m_config; }
        }

        public ObjectLayer.OL ObjectLayer
        {
            get { return Configuration.ObjectLayer; }
        }
        
        Configuration m_config = null;
    }
}
